function findYsbx($scope, CertusFormAjax) {
    this.getBudgetInfo = function (data) {
        $("#other2Container").empty();
        $("#otherTool2Container").empty();
        CertusFormAjax.ajax("findYyglBugets",{"param":JSON.stringify(data)},function (response) {
            // 运营管理-预算报销
            var other2Columns = [{
                id: 'pro_name',
                title: '归属项目',
                type: 'string',
                width: 150,
                columnClass: 'text-center',
            },{
                id: 'buget_phase',
                title: '阶段',
                type: 'string',
                width: 75,
                columnClass: 'text-center',
            },{
                id: 'buget_type',
                title: '预算类型',
                type: 'string',
                width: 100,
                columnClass: 'text-center',
            }, {
                id: 'buget',
                title: '预算金额(元)',
                type: 'string',
                width: 150,
                columnClass: 'text-center',
                resolution: function (value, record, column, grid, dataNo, columnNo) {
                    var content = '￥' + value + '元';
                    return content;
                  }
            },{
                id: 'user_name',
                title: '申请人',
                type: 'string',
                width: 75,
                columnClass: 'text-center'
            },{
                id: 'create_time',
                title: '申请时间',
                type: 'date',
                width: 100,
                format:'yyyy-MM-dd',
                otype:'time_stamp_ms',
                columnClass: 'text-center'
            },{
                id: 'useTimeSycle',
                title: '使用周期',
                type: 'string',
                width: 180,
                columnClass: 'text-center',
                resolution: function (value, record, column, grid, dataNo, columnNo) {
                    var content = '';
                    if(record.budgetBegin!=undefined){
                        content += record.budgetBegin+"至"+record.budgetEnd;
                    }
                    return content;
                }
            },{
                id: 'comments',
                title: '费用说明',
                type: 'string',
                columnClass: 'text-left'
            }];
            var other2Option = {
                lang: 'zh-cn',
                ajaxLoad: false,
                extraWidth: 20,
                // loadURL:'url',
                exportFileName: '其他费用',
                datas: response.data,
                columns: other2Columns,
                gridContainer: 'other2Container',
                toolbarContainer: 'otherTool2Container',
                tools: '',
                pageSize: 10,
                pageSizeLimit: [10, 15, 20]
            };
            var other1Grid = $.fn.dlshouwen.grid.init(other2Option);
            other1Grid.load();
        });
    }

    this.getBudgetMoney = function (data) {
        CertusFormAjax.ajax("findYyglTotalMoney",{"param":JSON.stringify(data)},function (response) {
            $("#totalMoney").html(response.data);
        });
    }

    //初始化查询
    var newdata = {};
    newdata.budgetStatus = 1;
    getBudgetInfo(newdata);
    getBudgetMoney(newdata);

    //查询
    $(".ybsubmit").on('click',function () {
        var data = {};
        data.month = $("#month").val();
        data.year = $("#year").val();
        data.budgetType = $("#budgetType").val();
        data.budgetStatus = $("#budgetStatus").val();
        getBudgetInfo(data);
        getBudgetMoney(data);
    })
}